package juc.base;

import java.util.concurrent.TimeUnit;

public class Ithread {
    public static void main(String[] args) throws Exception {
        new Thread(() -> {
            for (int i = 1; i < 5; i++) {
                System.out.println(i);
            }
        }).start();
        TimeUnit.SECONDS.sleep(1);
    }
}